<?php
if(!isset($_GET['self_url'])){
	exit();
}
$self_url = $_GET['self_url'];


require_once "jssdk.php";
$jssdk = new JSSDK("wx2d1290a0a9bf3435", "973b24adb0debc6355d6cdfb8a1e133c");
//$jssdk = new JSSDK("wxc4c916331ca3a95a", "58359f6f8fa4b789809a9e697cd7a73b");
$signPackage = $jssdk->GetSignPackage($self_url);

$signPackage["gametitle"] = "大余娱乐城";
$signPackage["gamedesc"] = "家乡原汁原味的冲关麻将规则，让您的业余生活嗨翻天！";
$signPackage["gamelink"] = "http://www.qmcsl.cn/wechat/login/login.php";
$signPackage["gameIconUrl"] = "http://www.qmcsl.cn/wechat/icon.png";

echo json_encode($signPackage);
?>
